////////////////////////////////////////////////
// File: Dict.java
// Description: Enter summary here after generation.
// Date: 2016-04-14 13:12:36
// Web: http://www.elanzhou.com/
////////////////////////////////////////////////
package com.mvc.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.text.SimpleDateFormat;
/**
 * dict entity. @author 马威
 */
@Entity
@Table(name = "dict")
public class Dict implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	@Id
	@Basic(optional = false)
	@GeneratedValue(strategy = GenerationType.IDENTITY)   
    @Column(name = "ID", nullable = false)
	private Integer ID;
    //字典名
    @Column(name = "keyname")
	private  String Keyname;
    //字典描述
    @Column(name = "keycontext")
	private  String Keycontext;
    //字段名
    @Column(name = "optname")
	private  String Optname;
    //字段值
    @Column(name = "optvalue")
	private  String Optvalue;
    //排序
    @Column(name = "myorder")
	private  int Myorder;
    public int getId() {
       return this.ID;
	   }
	public void setId(int ID) {
	   this.ID = ID;
       }
    public String getKeyname() {
       return this.Keyname;
	   }
	public void setKeyname(String Keyname) {
	   this.Keyname = Keyname;
	   }
    public String getKeycontext() {
       return this.Keycontext;
	   }
	public void setKeycontext(String Keycontext) {
	   this.Keycontext = Keycontext;
	   }
    public String getOptname() {
       return this.Optname;
	   }
	public void setOptname(String Optname) {
	   this.Optname = Optname;
	   }
    public String getOptvalue() {
       return this.Optvalue;
	   }
	public void setOptvalue(String Optvalue) {
	   this.Optvalue = Optvalue;
	   }
    public int getMyorder() {
       return this.Myorder;
	   }
	public void setMyorder(int Myorder) {
	   this.Myorder = Myorder;
	   }

}